#if !defined(_G711_H)
#define _G711_H

static int search(int		val,
				  short		*table,
				  int		size) ;
// a law part
unsigned char linear2alaw(int	pcm_val);

int alaw2linear(unsigned char	a_val);

/* u law part */
unsigned char linear2ulaw(int	pcm_val);

int ulaw2linear(unsigned char	a_val);

#endif